package com.itheima.mapper;

import com.itheima.entity.YddAdvimg;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface YddAdvimgMapper {
    /**
     * 选择建议列表
     *
     * @param advimgpos1 advimgpos1
     * @return {@link List}<{@link YddAdvimg}>
     */
    @Select("select id, advimgsrc, advimgdesc, advimglink from ydd_advimg where advimgpos=#{advimgpos}")
    List<YddAdvimg> selectAdvimgList(String advimgpos);
}
